package br.com.mmm.javacenter.user.domain;

import java.util.List;

import br.com.mmm.javacenter.framework.annotations.Domain;
import br.com.mmm.javacenter.framework.domain.DomainBase;
import br.com.mmm.javacenter.framework.entity.EntidadeBase;
import br.com.mmm.javacenter.user.entity.Usuario;
import br.com.mmm.javacenter.user.exceptions.UserInvalidException;

@Domain
public class UserDomainImpl extends DomainBase<Usuario> implements UserDomain{

	public UserDomainImpl() {
		
	}
	
	public boolean checkPassword() throws UserInvalidException {
		return false;
	}

	public List<Usuario> listar() {
		return getRepository(EntidadeBase.class).listarTodos();
	}

	
}
